
<!DOCTYPE html>
<html>
<!--Made By kailuosoft.com, TEL 171 9992 9517 -->
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>凯络科技后台管理系统 - 添加/编辑用户</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

     <link rel="shortcut icon" href="favicon.ico"> <link href="__PUBLIC__/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="__PUBLIC__/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="__PUBLIC__/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="__PUBLIC__/css/animate.min.css" rel="stylesheet">
    <link href="__PUBLIC__/css/style.min862f.css?v=4.1.0" rel="stylesheet">
	<link href="__PUBLIC__/css/page.css" rel="stylesheet">
    <link href="__PUBLIC__/css/new.css" rel="stylesheet">
	<script src="__PUBLIC__/js/jquery.min63b9.js?v=2.1.4"></script>
    <script src="__PUBLIC__/js/plugins/layer/layer.min.js"></script>
    
   
	
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <if condition=" !empty($userinfo)"> 
                           <h5>编辑用户</h5>
                        <else/>
                           <h5>添加用户</h5>
                        </if>
                        
                    </div>
                    <div class="ibox-content">
                        <form class="form-horizontal m-t" id="commentForm" action="{:U('user_edit')}" method="post">
							<input type='hidden' name="id" id='id' value='<if condition=" !empty($userinfo)"> {$userinfo.id} </if>' />
                            <input type='hidden' name="jumpurl" id='jumpurl' value='<if condition=" !empty($jumpurl)"> {$jumpurl} </if>' />
                            
                            <div class="form-group">
                                <label class="col-sm-3 control-label">用户名：</label>
                                <div class="col-sm-2">
                                    <input id="username" name="username" minlength="2" type="text" class="form-control" required aria-required="true"  value='{$userinfo.username}' />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">密　码：</label>
                                <div class="col-sm-2">
                                    <input id="password" name="password" minlength="6" type="password" class="form-control"  <if condition="empty($userinfo)">required aria-required="true"</if> >
                                    <if condition=" !empty($userinfo) " >
                                       <span style='color:red'>不修改密码请留空</span>
                                    </if>
                                    
                                </div>
                            </div>
                             <div class="form-group">
                                <label class="col-sm-3 control-label">类　型：</label>
                                <div class="col-sm-2">
                                  <select name='type' class='form-control' >
                                      <option value="1" <?php $userinfo['type']==1?'selected':''; ?>>普通用户</option>
                                      <option value="2" <?php $userinfo['type']==2?'selected':''; ?>>管理员</option>
                                  </select>
                                </div>
                            </div>
                            
                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-3">
                                	<input type="submit" value='提交'  class="btn btn-primary"  />
                                   <if condition=" !empty($userinfo)"> 
                                    <a class="btn btn-primary" href='javascript:history.back(-1)'>返回</a>
                                   </if>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="__PUBLIC__/js/jquery.min63b9.js?v=2.1.4"></script>
	<script src="__PUBLIC__/js/bootstrap.min14ed.js?v=3.3.6"></script>
    <script src="__PUBLIC__/js/plugins/peity/jquery.peity.min.js"></script>
    <script src="__PUBLIC__/js/content.mine209.js?v=1.0.0"></script>
    <script src="__PUBLIC__/js/plugins/iCheck/icheck.min.js"></script>
    <script src="__PUBLIC__/js/demo/peity-demo.min.js"></script>
    
    <script src="__PUBLIC__/js/plugins/layer/laydate/laydate.js"></script>
    <script src="__PUBLIC__/js/plugins/jquery.tablesort.min.js"></script>
    <script  type="text/javascript"  src="http://g.tbcdn.cn/sj/securesdk/0.0.3/securesdk_v2.js"  id="J_secure_sdk_v2" data-appkey="23416550"></script>
   


</body>
<!--Made By kailuosoft.com, TEL 171 9992 9517 -->
</html>
